<?php
/*\
 *	file: oh.framework.php
 *	----------------------
 *
 *
\*/

#ob_start();
	
$oh = array(	
	'version'	=> '0.0.6',
	'stable'	=> false,
	'path' 		=> dirname(__FILE__),
	'timestamp' => time(),
	'mini'		=> false,
	'runtime'	=> true,
	'module' 	=> array(),
	'config' 	=> array(),
	'packs' 	=> array(),
	'boxes' 	=> array(),
	'appliance'	=> array('name'=>'Web Application (1)'),
	'db'		=> array('name'=>'DB0'),
	'message'	=> 'oh.framework at <a href="http://oh.openplanning.net/">openplanning.net</a>',		
);

if (is_dir($oh['path']."/includes")) {		
	# load standard framework
	require_once($oh['path']."/includes/oh.loads.php");

} else {
	# load singlefile framework
	require_once($oh['path']."/oh.framework.mini.php");
	if ( oh("kernel")->install() ) {
		// Installation Accomplisced
	} else {
		$oh['mini'] = true;
	}			
	
}
